
export const ReceiptData = [
  {
    communityName: '滨河新村小区收费单',
    receiptNo: 'SK0000150',
    ownerName: '蒋群兰',
    billDate: '2022-03-28 10:04:56',
    billUser: '超级管理员',
    receivableMoney: '10',
    billMoney: '10',
    specialMoney: '0',
    amountAmount: '0',
    transferAmount: '90',
    modePayment: '现金[100]',
    receiptDetails: [
      {
        roomName: '第1楼栋-1-0101',
        chargeName: '生活垃圾处理费',
        costRange: '2022-04-01~2022-05-31',
        prices: '5',
        receivableMoney: '10',
        paymentCycle: '2022-05',
        amountAmount: '00',
        billMoney: '10',
        specialMoney: '00'
      },

]
  }
]

//收款组件
export const ReceiptOptions = [
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '自定义文本',
    value: '自定义文本',
    defaultValue: '自定义文本',
    name: ''
  },
  {
    type: 'braid-txt',
    isEdit: 0,
    title: '小区名称',
    value: '{小区名称}',
    defaultValue: '',
    name: 'communityName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '收款单号',
    value: '{收款单号}',
    defaultValue: '',
    name: 'receiptNo'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '客户名称',
    value: '{客户名称}',
    defaultValue: '',
    name: 'ownerName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '收款日期',
    value: '{收款日期}',
    defaultValue: '',
    name: 'billDate'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '收款人',
    value: '{收款人}',
    defaultValue: '',
    name: 'billUser'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '应收金额',
    value: '{应收金额}',
    defaultValue: '',
    name: 'receivableMoney'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '收到金额',
    value: '{收到金额}',
    defaultValue: '',
    name: 'billMoney'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '优惠金额',
    value: '{优惠金额}',
    defaultValue: '',
    name: 'specialMoney'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '冲抵金额',
    value: '{冲抵金额}',
    defaultValue: '',
    name: 'amountAmount'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '转存金额',
    value: '{转存金额}',
    defaultValue: '',
    name: 'transferAmount'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '收款方式',
    value: '{收款方式}',
    defaultValue: '',
    name: 'modePayment'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '优惠政策',
    value: '{优惠政策}',
    defaultValue: '',
    name: 'favouredPolicyName'
  },
  {
    type: 'braid-html',
    isEdit: 1,
    title: '分页',
    value: '{第##页/共##页}',
    defaultValue: '<font><span tdata=\'pageNO\'>第##页</span>/<span tdata=\'pageCount\'>共##页</span></font>',
    name: ''
  },
  {
    type: 'braid-table',
    isEdit: 0,
    title: '收款费用明细',
    name: 'receiptDetails',
    value: '{收款费用明细}',
    style: {},
    defaultValue: [

    ],
    tabelHtml: '',
    columnsAttr: [
      {
        title: '房间名称',
        value: '{房间名称}',
        name: 'roomName',
      },
      {
        title: '收费项目',
        value: '{收费项目}',
        name: 'chargeName',
      },
      {
        title: '费用区间',
        value: '{费用区间}',
        name: 'costRange'
      },
      {
        title: '单价',
        value: '{单价}',
        name: 'prices'
      },
      {
        title: '应收金额',
        value: '{应收金额}',
        name: 'receivableMoney'
      },
      {
        title: '缴费周期',
        value: '{缴费周期}',
        name: 'paymentCycle',
      },
      {
        title: '冲抵金额',
        value: '{冲抵金额}',
        name: 'amountAmount',
      },
      {
        title: '实收金额',
        value: '{实收金额}',
        name: 'billMoney',
      },
      {
        title: '优惠金额',
        value: '{优惠金额}',
        name: 'specialMoney',
      }
    ],
    columns: []
  }
]

//付款组件
export const PaymentOptions = [



]

//测试组件
export const InStockOptions = [
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '自定义文本',
    value: '自定义文本',
    defaultValue: '自定义文本',
    name: ''
  },
  {
    type: 'braid-txt',
    isEdit: 0,
    title: '公司名称',
    value: '{公司名称}',
    defaultValue: '九州科瑞',
    name: 'companyName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '入库单号',
    value: '{入库单号}',
    defaultValue: 'RK-1234567890',
    name: 'purcheckCode'
  },

  {
    type: 'braid-txt',
    isEdit: 1,
    title: '供应商/客户',
    value: '{供应商/客户}',
    defaultValue: '中国苹果',
    name: 'unitName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '采购业务员',
    value: '{采购业务员}',
    defaultValue: 'zj001',
    name: 'purchaseSaleManName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '入库类型',
    value: '{入库类型}',
    defaultValue: '采购入库',
    name: 'purcheckType'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '入库仓库',
    value: '{入库仓库}',
    defaultValue: '北京科瑞仓库',
    name: 'warehouseName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '入库时间',
    value: '{入库时间}',
    defaultValue: '2020-08-27 12:00:00',
    name: 'businessDate'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '制单人',
    value: '{制单人}',
    defaultValue: 'jz002',
    name: 'createUserName'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '制单时间',
    value: '{制单时间}',
    defaultValue: '2020-08-27 12:00:00',
    name: 'created'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '摘要',
    value: '{摘要}',
    defaultValue: '北京采购入库成都摘要',
    name: 'remark'
  },
  {
    type: 'braid-txt',
    isEdit: 1,
    title: '合计金额',
    value: '{合计金额}',
    defaultValue: '12331.00',
    name: 'totalPrice'
  },
  {
    type: 'braid-html',
    isEdit: 1,
    title: '分页',
    value: '{第##页/共##页}',
    defaultValue: '<font ><span tdata=\'pageNO\'>第##页</span>/<span tdata=\'pageCount\'>共##页</span></font>',
    name: ''
  },
  {
    type: 'braid-table',
    isEdit: 0,
    title: '入库商品明细',
    name: 'details',
    value: '{details}',
    style: {},
    defaultValue: [
      {
        productName: '苹果ipone11pro',
        skuName: 'iphone11pro256g',
        specModel: '165L',
        quantity: 3,
        snCode: '[SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1]',
        isUseSn: '1',
        price: '12.00'
      },
      {
        productName: '苹果ipone11pro',
        skuName: 'iphone11pro124g',
        specModel: '165L',
        quantity: 3,
        snCode: '[SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1] [SPP1Y79G1]',
        isUseSn: '1',
        price: '12.00'
      }

    ],
    columnsAttr: [
      {
        title: '产品名称',
        value: '{产品名称}',
        name: 'productName',
      },
      {
        title: 'sku名称',
        value: '{sku名称}',
        name: 'skuName',
      },
      {
        title: '规格型号',
        value: '{规格型号}',
        name: 'specModel'
      },
      {
        title: '数量',
        value: '{数量}',
        name: 'quantity'
      },
      {
        title: '单价',
        value: '{单价}',
        name: 'price'
      },
      {
        title: '产品序列号',
        value: '产品序列号明细：<br>{产品序列号}',
        name: 'snCode',
        trSet: {
          title: '产品序列号明细:',
          col: 5,
          margin: '50px'
        },
        type: 'row',
        isShowName: 'isUseSn',
        isShowValue: '1'
      }
    ],
    columns: []
  }
]
